package user.zc.excel.data.wrap;


import user.zc.excel.WriteDTO;

public abstract class AWrapper implements IWrapper{
    public AWrapper next;
    public AWrapper(AWrapper next){
        this.next = next;
    }

    protected WriteDTO todo(WriteDTO writeDTO) {
        writeDTO = merge(writeDTO);
        if(next!=null){
            return next.todo(writeDTO);
        }
        return writeDTO;
    }
}
